package cn.wenlihelp.mapper;

import cn.wenlihelp.bean.Task;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @Entity cn.wenlihelp.bean.Task
 */
public interface TaskMapper {

    int deleteByPrimaryKey(Long id);

    boolean insert(Task record);

    int insertSelective(Task record);

    Task selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(Task record);

    int updateByPrimaryKey(Task record);

    List<Task> findAll(Task task);

    boolean del(@Param("ids") Integer[] ids);

    boolean addContact(@Param("taskId") Integer taskId, @Param("accountId") Integer accountId);
}
